package com.aspose.cells;

public class TilePicOption {
   private int a = 0;
   private int b = 0;
   private int c = 100000;
   private int d = 100000;
   private int e = 0;
   private int f = 7;

   public double getOffsetX() {
      return (double)this.a / zml.i;
   }

   public void setOffsetX(double value) {
      this.a = (int)(value * zml.i + 0.5D);
   }

   public double getOffsetY() {
      return (double)this.b / zml.i;
   }

   public void setOffsetY(double value) {
      this.b = (int)(value * zml.i + 0.5D);
   }

   public double getScaleX() {
      return (double)this.c / 1000.0D;
   }

   public void setScaleX(double value) {
      this.c = (int)(value * 1000.0D + 0.5D);
   }

   public double getScaleY() {
      return (double)this.d / 1000.0D;
   }

   public void setScaleY(double value) {
      this.d = (int)(value * 1000.0D + 0.5D);
   }

   public int getMirrorType() {
      return this.e;
   }

   public void setMirrorType(int value) {
      this.e = value;
   }

   public int getAlignmentType() {
      return this.f;
   }

   public void setAlignmentType(int value) {
      this.f = value;
   }

   void a(TilePicOption var1) {
      this.a = var1.a;
      this.c = var1.c;
      this.b = var1.b;
      this.d = var1.d;
      this.e = var1.e;
      this.f = var1.f;
   }

   boolean b(TilePicOption var1) {
      if (this.a != var1.a) {
         return false;
      } else if (this.c != var1.c) {
         return false;
      } else if (this.b != var1.b) {
         return false;
      } else if (this.d != var1.d) {
         return false;
      } else if (this.e != var1.e) {
         return false;
      } else {
         return this.f == var1.f;
      }
   }
}
